﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using LD24.Entities;

namespace LD24.Helpers
{
    public class ColorHelper
    {
        public static Color BlockTypeToColor(BlockType type)
        {
            switch (type)
            {
                case BlockType.Empty:
                    return Color.Transparent;
                    break;
                case BlockType.Grass:
                    return Color.DarkGreen;
                    break;
                case BlockType.Dirt:
                    return Color.Brown;
                    break;
                case BlockType.Water:
                    return Color.CornflowerBlue;
                    break;
                case BlockType.Stone:
                    return Color.DarkGray;
                    break;
                default:
                    break;
            }
            return Color.White;
        }
    }
}
